<ion-view view-title="{{title}}" class="employeemanager_add">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
		<ion-nav-buttons side="right">
			<!--<p class="savebtntext f-size-16" on-tap="save()">保存</p>-->
			<button class="button button-clear saveText" on-tap="save()">保存</button>
		</ion-nav-buttons>
	</ion-nav-bar>

	<ion-content>
		<div class="list bg" ng-if="!input.id">
			<!--新增时显示这个-->
			<div class="item item-input margin-0 textframe">
				<span class="text">
				店员账号
			</span>
				<input ng-blur="namecheck()" class="textinput" type="text" name="phone" ng-model="input.phone" ng-keyup="clearNoNum(input,'phone')" placeholder="请输入11位手机号">
				<img src="./img/guilin/common/icon_delete_g@2x.png" ng-if="input.phone" on-tap="clearinput(1)" />
			</div>
			<li class="item item-input margin-0  textframe">
				<span class="text">
				密码
			</span>
				<input class="textinput" type="password" ng-model="input.password" placeholder="请输入6-20位密码" />
				<img src="./img/guilin/common/icon_delete_g@2x.png" ng-if="input.password" on-tap="clearinput(2)" />
			</li>
			<li class="item item-input margin-0  textframe">
				<span class="text">
				确认密码
			</span>
				<input class="textinput" type="password" placeholder="请输入确认密码" ng-model="input.repassword" />
				<img src="./img/guilin/common/icon_delete_g@2x.png" ng-if="input.repassword" on-tap="clearinput(3)" />
			</li>
			<li class="item item-input margin-0  textframe">
				<span class="text">
				店员角色
			</span>
				<div class="item-input selectframe" on-tap="openModal_tag()">
					<span class="textinput" >{{input.part_name}}</span>
					<img src="./img/guilin/common/icon_right@2x.png" />
				</div>			
			</li>
		</div>
	</ion-content>
</ion-view>